package com.resource.authoritymanage.feign;

import com.resource.authoritymanage.feign.back.SysUserRoleControlRemoteFallBack;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient(value = "loginPlatForm", fallbackFactory = SysUserRoleControlRemoteFallBack.class)
public interface SysUserRoleControlRemote {

    @RequestMapping(value = "/renren-fast/sys/user/acceptPrivilege", method = RequestMethod.POST)
    public void accepPrivilege(@RequestParam Map<String, String> map);
}
